package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("商品库存调整详情")
public class AdminProductStockDetailVO {


    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("商品名称")
    private String firstTitle;

    @ApiModelProperty("类型 true 增加 false 减少")
    private Boolean isAdd;

    @ApiModelProperty("数量")
    private Integer number;

    @ApiModelProperty("调整前数量")
    private Integer beforeNumber;

    @ApiModelProperty("调整后数量")
    private Integer afterNumber;

    @ApiModelProperty("操作人名称")
    private String createName;

    @ApiModelProperty("操作时间")
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
